﻿<!doctype html>
<html>
<head>
<#include "/part_meta.ftl">
<title>店铺信息-迈小众</title>
<link href="${st.resDomain}/css/style.css" rel="stylesheet">
<link href="${st.resDomain}/css/form-base.css" rel="stylesheet">
<link href="${st.resDomain}/css/MC-base.css" rel="stylesheet">
<link href="${st.resDomain}/css/MC.css" rel="stylesheet">
<style>
.form select {width: auto;}
</style>
</head>

<body>
<!--- header --->
<div id="header">
  <div class="main f_clear">
  	<div class="logo"><h2><@shiro.principal property="s_name" /></h2><span>您好！<@shiro.principal property="m_name" />， <a href="${st.domain}/member/logoutDo">退出</a>&nbsp;&nbsp;&nbsp;[ <a href="${st.shopDomain}/localSale/v1.1" target="_blank">进行线下销售</a> ]</span></div>
    <div class="f_right"><a href="${st.userDomain}">个人中心</a> <a href="${st.shopDomain}" class="selected">店铺管理</a><@shiro.hasRole name="FIRM"><a href="${st.firmDomain}">企业管理</a></@shiro.hasRole></div>
  </div>
</div>
<!--- header end--->
<!--topnav -->
<div id="topnav">
  <div class="main">
    <ul class="left">      
      
      <li><a href="${st.shopDomain}/order/list?statuses=0">订单</a></li>
      <li><a href="${st.shopDomain}/storeGoods/list">商品</a></li>
      <li><a href="${st.shopDomain}/memberVip">会员</a></li>      
      <li class="selected"><a href="${st.shopDomain}/store/edit">店铺</a></li>      
      <li><a href="${st.shopDomain}/goodsReport">数据</a></li>
    </ul>
  </div>
</div>
<!--topnav end-->
<div id="main" class="f_clear">
  <div id="left">
    <ul id="menu1">
    <li class="selected"><a href="${st.shopDomain}/store/edit">店铺信息</a></li>
    <li><a href="${st.shopDomain}/storeRegion/list">配送地区</a></li>
    <li><a href="${st.shopDomain}/storeMember/list">店铺成员</a></li>
    </ul>
  </div>
  <div id="right">
    <div id="title">店铺信息</div>
    <div id="dpxx">
	   <form id="storeForm" autocomplete="off">
	   <div class="f_clear">
	    <div class="form val">
	      <p>
	      	<input name="storeId" type="hidden" value="${store.storeId}" />
	      </p>
	      <p>
	        <label>店铺名称：<em>*</em></label>
	        <input name="name" type="text" value="${store.name}" />
	      </p>
	      <p id="logo">
	        <label>LOGO：</label>
	        <span><input id="storeLogo" name="logo" type="hidden" value="${store.logo}">
	        <img id="imgPrev" src="${st.resDomain}/images/shop_def.jpg" <#if store.logo?? >data="${store.logo}"</#if> width="100" height="100" class="atta">
	        </span>
	        <a id="picFileBt" class="btn2">上传</a>
	      </p>
	      <p>
	        <label>地区：<em>*</em></label>
	        <input type="hidden" id="regionId" name="region.regionId" value="${store.region.regionId}"/>
	        <span id="regions"></span><span id="regionMsg"></span>
	      </p>
	      <p>
	        <label>地址：<em>*</em></label>
	        <input name="address" type="text" value="${store.address}"/>
	      </p>
	      <p class="s">
	        <label>地图位置：</label>
	        <input type="text" id="lng" name="lng" value="${store.lng?default('0.00')?string('0.######')}" readonly style="width:65px;background-color: #F0F0F0"/>
	        <input type="text" id="lat" name="lat" value="${store.lat?default('0.00')?string('0.######')}" readonly style="width:65px;background-color: #F0F0F0"/>
	      	<i>点击地图进行设置</i>
	      </p>
	      <p>
	        <label>联系人：</label>
	        <input name="contacts" type="text" value="${store.contacts}"/>
	      </p>
	      <p>
	        <label>联系电话：</label>
	        <input name="phone" type="text" value="${store.phone}"/>
	      </p>
	    </div>
	    <div class="map" id="storeMap" style="width:350px;height:350px;border:#ccc solid 1px;font-size:12px">正在加载地图...</div>
	   </div>
	   <div class="f_clear">
	    <div class="form val" style="width:100%">
	   	  <p>
	       <label>店铺介绍：</label>
	       <textarea name="descr" maxlength="1000" style="width:500px;font-size:13px;">${store.descr}</textarea>
	      </p>
	    </div>
	   </div>
	   <div class="Submit f_clear">
	   <input type="submit" id="submitBt_0" onclick="return false;" class="feignhide"><!-- 实现回车提交 -->
	   <a href="javascript:;" id="submitBt_1" class="btn1"><i></i><em>保存</em></a></div>
	   </form>
	 </div>
  </div>
</div>
<!--footer-->
<div id="footer">Copyright© 迈小众 <span style="padding-left:30px;">客服QQ：<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=3101084438&site=qq&menu=yes" rel="nofollow"><img border="0" src="http://wpa.qq.com/pa?p=2:3101084438:50" alt="点击联系我们，QQ：3101084438" title="点击联系我们，QQ：3101084438"></a></span></div>
<!--footer end-->
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=xRGhS91NeNL7ncR3tnhKSCLb"></script>
<script data-main="${st.resDomain}/scripts/shop/store_edit" src="${st.resDomain}/scripts/require.js"></script>
</body>
</html>
